package com.wg.dome.operation;

import com.wg.core.lang.MemberParams;
import com.wg.core.annotation.DataMember;
import com.wg.net.rpc.AbstractDataContract;
import com.wg.core.lang.HashTable;

/**
 * 上阵响应
 */
public class ShangZhenResponse extends AbstractDataContract {

    @DataMember(code = 1)
    private long heroId;

    /**
     * 上阵位置
     */
    @DataMember(code = 2)
    private byte szPos;

    /**
     * 上阵位属性
     */
    @DataMember(code = 3)
    private HashTable szAttribute;

    /**
     * 上阵位置
     */
    @DataMember(code = 4)
    private byte bzPos;

    public ShangZhenResponse() {
    }

    public ShangZhenResponse(MemberParams dataMembers) {
        super(dataMembers);
    }

    public long getHeroId() {
        return heroId;
    }

    public void setHeroId(long heroId) {
        this.heroId = heroId;
    }

    public byte getSzPos() {
        return szPos;
    }

    public void setSzPos(byte szPos) {
        this.szPos = szPos;
    }

    public HashTable getSzAttribute() {
        return szAttribute;
    }

    public void setSzAttribute(HashTable szAttribute) {
        this.szAttribute = szAttribute;
    }

    public byte getBzPos() {
        return bzPos;
    }

    public void setBzPos(byte bzPos) {
        this.bzPos = bzPos;
    }
}
